// Your custom settings file to override Foundation defaults
@import "settings";

// Comment out this import if you are customizing you imports below
@import "foundation";

// ----------------------------------------
// Import specific parts of Foundation by commenting the import "foundation"
// and uncommenting what you want below. You must uncomment the following if customizing

// @import "compass/css3";
// @import "foundation/settings";
// @import "foundation/functions/all";

// Control which mixins you have access too

// @import "foundation/mixins/clearfix";
// @import "foundation/mixins/css-triangle";
// @import "foundation/mixins/font-size";

// Must include next two for semantic grid to work

// @import "foundation/mixins/respond-to";
// @import "foundation/mixins/semantic-grid";

// @import "modular-scale";
// @import "foundation/common/globals";

// Must include the grid for any responsiveness

// @import "foundation/components/grid";

// Control which common styles get compiled

// @import "foundation/common/typography";
// @import "foundation/common/forms";

// Control which components you get if customizing

// @import "foundation/components/modules/buttons";
// @import "foundation/components/modules/tabs";
// @import "foundation/components/modules/ui";
// @import "foundation/components/modules/topbar";
// @import "foundation/components/modules/navbar";
// @import "foundation/components/modules/orbit";
// @import "foundation/components/modules/reveal";
// @import "foundation/components/modules/offcanvas";
// @import "foundation/components/modules/clearing";
// @import "foundation/components/modules/joyride";

// Media Queries Overrides
// @import "foundation/components/modules/mqueries";
.top-bar {
    margin: 0;
    background: none repeat scroll 0 0 #111111;
    border-bottom: medium none;
}

.top-bar li a.help-link {
	background: url(/Foundation/Help.png) no-repeat;
	background-position:center center;
	margin-left: 10px;
	margin-right: 10px;
}


.top-bar li.name span a.toggle-nav {
    background: url("/Foundation/plus-toggle-2.png") no-repeat scroll 0 0 transparent;
   	background-position:center center;
 	display: block;
    height: 16px;
    width: 16px;
    left: 100px;
    opacity: 0.4;
    position: absolute;
    top: 14px;
    transition: all 500ms ease-in-out 0s;
    -webkit-transition: all 500ms ease-in-out 0s;
    z-index: 1;
    padding: 0 !important;
    border:none;
}

.top-bar li.name span a.toggle-nav.open {
    opacity: 0.8;
    transform: rotate(135deg);
    transform-origin: center center 0;
    -webkit-transform: rotate(135deg);	/* Safari and Chrome */
    -webkit-transform-origin: center center 0; /* Safari and Chrome */
    z-index: 1;
}

#main-navigation {	
		background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.75) inset;
    color: #FFFFFF;
    margin-top: 0px !important;
    overflow: hidden;
    padding: 25px 25px 0px;
    position: relative;
    width: 100%;
    z-index: 1;
    display: none;
    }

   
.breadcrumbs   {
    margin-bottom: 0px;
}

#app-navigation {
		@include column(2);
		height:100%;
		padding-top: 10px; 
		padding-left: 10px;
		padding-right: 0px;
		
		ul li ul	{
					@extend .nav-bar;
					@extend .vertical;
					
					.selected { 
								@extend .active;
							}
					
					a {
						margin-left: -10px;
					}
		}
				
		h2, br{
  		display:none;
	}
}

.contentarea {
	  @include column(10);
	  padding: 10px;
}
#copyright {
    border-top: 1px solid #EEEEEE;
    color: #999999;
    font-size: 10px;
    margin: 20px 0 10px;
    padding: 10px 30px 20px;
    position: relative;
    bottom: 0;
	 	p{
	 		font-size: 11px;
	 	 }
	
}
.tab-bar {
		
		ul li ul {
							@extend .tabs;
    					.selected {@extend .active; }
    				}
		padding-top: 5px;
		
}
button, a.buttontext, a.smallSubmit,input[type=submit]
	{
		@extend .button;
		@extend .secondary;
		@extend .small;
		text-transform: uppercase;
	 	margin: 5px 5px 5px 2px;
	 	padding: 8px 5px 9px;
}

input[type="button"],input[type="reset"]
	{
		@extend .button;
		@extend .small;
	 	margin: 5px;
}
.label {
	font-size: inherit;
	padding-right: 1.5em;
    text-align: right;
    width: 1%;
    height: 1.2em;
    vertical-align: middle;
    white-space: nowrap;
    background: none repeat scroll 0 0 transparent;
    outline: 0 none;
    color: #222222;
	display: table-cell;    
}


input[type="text"], input[type="password"], 
input[type="date"], input[type="datetime"], 
input[type="email"], input[type="number"], 
input[type="search"], input[type="tel"], 
input[type="time"],input[type="url"], 
textarea, select {
	height: auto;
    width: auto;
    display: inline;
}

.screenlet-title-bar ul a{
		@extend .button;
		@extend .tiny;
		@extend .secondary;
		margin-top: 2px;
		font-size: 0.8em;
}

.basic-table tr .button-col { 
    vertical-align: top;
}

.basic-table tr .button-col a {
		@extend  .button;
		@extend .tiny;
		margin-left: 2px;
		margin-bottom: 2px; 
		margin-top: 1px;
}
   
/* ===== Button style decorator ===== */
.button-style-2 ul li {
    background-color: #ffffff;
    color: #000099;
    padding-left: 1px;
    
    ul {
    	@extend .button-group;
    	a {
    			@extend .medium; 
    			padding: 10px 10px;
    			text-transform: uppercase;
    			font-size:0.9em;
    			font-weight: normal;
    			}
    	li.create{
    		float: inherit;
    		padding-bottom: 5px;
    			a {
    				padding: 10px 15px;
    			}
    		}
    }		
}
 
.button-style-2 ul a,.button-style-2 a,a.button-style-2 {
    	@extend .button;
			@extend .tiny;
}

h1, .h1 {

    @extend  blockquote;
}

/* ===== Alternate table header style ===== */

.hover-bar {
    background: none repeat scroll 0 0 #FFFFFF;
    border-collapse: separate;
    border-color: #DDDDDD; 
    border-image: none;
    border-radius: 4px 4px 4px 4px;
    border-style: solid solid solid none;
    border-width: 1px 1px 1px 0;
    .header-row th, .header-row td {
					background-color: #EBF2F6 !important;
					vertical-align: bottom;
   					border-left: 1px solid #DDDDDD;
   					font-weight: bold;
   					padding-left: 5px;	
   					color: #222222;	
		
			}
	 tr.header-row-2 {
			background: none repeat scroll 0 0 #F5F5F5;
			padding-left: 3px;
			
					td {
					background-color: #EBF2F6 !important;
					vertical-align: bottom;
   					border-left: 1px solid #DDDDDD;
   					font-weight: bold;
   					padding-left: 5px;	
   					color: #222222;		
						}
     			th .sort-order, td .sort-order {
    				background: url("/Foundation/images/sort_both.png") no-repeat scroll right center transparent;
    				padding-right: 20px;
					font-weight: bold;
					color: #222222;
						
					}	
					 th .sort-order-desc, td .sort-order-desc {
    				background: url(/Foundation/images/sort_desc.png) no-repeat right;
    				padding-right: 20px;
    				font-weight: bold;
    				color: #222222;
					}
					
 					th .sort-order-asc, td .sort-order-asc {
    				background: url(/Foundation/images/sort_asc.png) no-repeat right;
    				padding-right: 20px;
    				font-weight: bold;
    				color: #222222;
					}		
   	}
   	
   	tr td {
   			border-top: 1px solid #DDDDDD;
   			border-left: 1px solid #DDDDDD;
   	}
}

/* ================================================= */
/* ===== Screenlet Title Bar/Navigation Styles ===== */
/* ================================================= */

DIV.screenlet {
    height: auto !important;
    height: 1%;
    margin-bottom: 1em;
    border-color: #2284A1;
    box-shadow: 0 1px 0 #004A6E inset;
    border: 1px solid #DEDEDE;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
		overflow:inherit;
}

DIV.screenlet-body {
    background-color: #FFFFFF;
    height: auto !important;
    height: 1%;
    padding: 0.4em;
}    
    
.screenlet-title-bar {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
    border-color: #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
    border-image: none;
    border-radius: 3px 3px 0 0;
    border-style: none none solid;
    border-width: medium medium 1px;
    cursor: move;
    color: #317EAC;
    height: 1%; /* IE fix */
    min-height: 1.5em;
}


.screenlet-title-bar .h1,
.screenlet-title-bar .h2,
.screenlet-title-bar .h3,
.screenlet-title-bar h1,
.screenlet-title-bar h2,
.screenlet-title-bar h3 {
    background: none;
    font-weight: bold;
    padding: 0.1em 0.5em 0.2em 0.5em;
}

.screenlet-title-bar ul {
    display: inline; /* IE Fix */
}

.screenlet-title-bar ul li {
    background: none;
    float: right;
    font-size: 1em;
    font-weight: bold;
    padding: 0.1em 0.5em 0.2em 0.5em;
}

.screenlet-title-bar ul h1,
.screenlet-title-bar ul h2,
.screenlet-title-bar ul h3,
.screenlet-title-bar ul .h1,
.screenlet-title-bar ul .h2,
.screenlet-title-bar ul .h3 {
    border-left: none;
    float: left;
}

.screenlet-title-bar .h1 {
    font-size: 1.6em;
}

.screenlet-title-bar .h2 {
    font-size: 1.3em;
}

.screenlet-title-bar .h3,.screenlet-title-bar .head4 {
    font-size: 1.1em;
}

.screenlet-title-bar .h3 a {
    color: #ffff66;
    display: inline;
}

.screenlet-title-bar ul .disabled {
    color: #CCCCCC;
}

.screenlet-title-bar ul li.collapsed a,
.screenlet-title-bar ul li.collapsed a:hover {
background: url(/Foundation/images/plus.png) no-repeat right bottom;
width:32px;
text-decoration: none;
box-shadow:none;
border: 0px;
}

.screenlet-title-bar ul li.expanded a,
.screenlet-title-bar ul li.expanded a:hover {
background: url(/Foundation/images/minus.png) no-repeat right bottom;
width:32px;
text-decoration: none;
border: 0px;
box-shadow:none;
}
// File uploader
input[type="file"] {
    font-size: 1.1em;
    height: 1.6em; /* force ctrl to scale with text */
    border: 0.1em solid #999999;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    color: rgba(0, 0, 0, 0.75);
    font-size: 1em;
    height: 1.6em;
    margin: 0.2em;
}

#content-main-section .button-bar {
		padding: 5px;
}
